<template>
  <div>
    <nuxt/>
  </div>
</template>

<script>
export default {
  mounted: function() {
    this.$axios.get('/bm/opera/isLogin').then(res => {
      if(res.data.code == 200) {
        this.$router.replace('/')
      }
    }).catch(err => {
      this.$router.replace('/login')
    })
  }
}
</script>

<style lang="less">
  * {
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  }
</style>
